package com.ruoyi.common.core;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

/**
 * @author zhangli
 * @since 2023/10/27
 */
@Getter
@AllArgsConstructor
public enum ErrorCode {

    SERVER_ERROR(500, "系统错误"),
    WX_AUTH_ERROR(501, "微信授权出错"),
    USER_NOT_EXIST(100,"用户不存在"),
    USER_NUMBER_ERROR(101,"学号不正确"),
    USER_NAME_ERROR(102,"学号姓名不匹配"),
    NOT_BIND(103,"未绑定"),
    WEEK_ERROR(104,"未查询到周数据"),
    ;
    private final int code;

    private final String msg;
}
